package com.hzlj.position.config.service;

import com.fz.common.base.dto.PageParamDTO;
import com.fz.common.base.dto.QueryPageResultDTO;
import com.fz.common.base.dto.DeleteCommonDTO;
import com.hzlj.position.config.common.dto.operatorActivation.OperatorActivationAddDTO;
import com.hzlj.position.config.common.dto.operatorActivation.OperatorActivationDTO;
import com.hzlj.position.config.common.dto.operatorActivation.OperatorActivationQueryResultDTO;
import com.hzlj.position.config.common.dto.operatorActivation.OperatorActivationQueryParamDTO;

import java.util.List;

/**
 * 定位-运营商开通(OperatorActivation)表服务接口
 *
 * @author lifh
 * @date 2023-08-10 17:28:24
 */
public interface OperatorActivationService {
    /**
     * 查询单条数据
     */
    OperatorActivationQueryResultDTO getOperatorActivationById(String id);

    OperatorActivationQueryResultDTO getOperatorActivationBySjh(String deviceCode);

    /**
     * 新增数据
     */
    void saveOperatorActivation(OperatorActivationAddDTO dto);

    /**
     * 删除数据
     */
    boolean deleteOperatorActivation(DeleteCommonDTO<String> dto);

    /**
     * 修改数据
     */
    boolean activation(OperatorActivationDTO dto);

    /**
     * 查询列表：不分页
     */
    List<OperatorActivationQueryResultDTO> listOperatorActivation(OperatorActivationQueryParamDTO dto);

    /**
     * 查询列表：分页
     */
    QueryPageResultDTO<OperatorActivationQueryResultDTO> pageOperatorActivation(OperatorActivationQueryParamDTO dto, PageParamDTO page);

}
